<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="../Public/Css/userp.css" />
<script type="text/javascript" src="../Public/Js/jquery.js"> </script>
<script type="text/javascript" src="../Public/Js/function.js"></script>
</head>
<body>
<div class="content">

	<div class="pos">
		<div class="posDe">当前位置 : <font style="color:blue;">个人管理&gt;管理员添加</font></div>
	</div>
	<center>
	<{if $power eq 1}>
	<div class="userForm">
	<fieldset style="padding:0px 100px;">
	<legend>管理员添加</legend>
		<form action="AddAdmin.php?flag=data" method="post" onsubmit="return checkAdminAll()">
			<table>
			<tr><td>用&nbsp;户&nbsp;名：</td><td><input type="text" name="admin_name" onblur="checkAdminName(this.name,'adminnameChk');"></td><td><div id="adminnameChk" class="checkdiv">*请填写管理员名称</div></td></tr>
			<tr><td>密&nbsp;&nbsp;&nbsp;&nbsp;码：</td><td><input type="password" name="newPwd" onblur="checkPwd();"></td><td><div id="newPwdChk" class="checkdiv">请输入6-20字符密码</div></td></tr>
			<tr><td>确认密码：</td><td><input type="password" name="reNewPwd" onblur="checkRePwd();"></td><td><div id="reNewPwdChk" class="checkdiv">请再次输入密码</div></td></tr>
			<tr>
				<td>权&nbsp;&nbsp;&nbsp;&nbsp;限：</td>
				<td>
					&nbsp;&nbsp;<input type="checkbox" name="insert" value="1"> 增加&nbsp;
					<input type="checkbox" name="delete" value="1"> 删除&nbsp;
					<input type="checkbox" name="update" value="1"> 更新
				</td>
				<td></td>
			</tr>
			<tr><td><input type="hidden" id="admin" /></td><td colspan=2><input type="image" src="../Public/Images/zc.png"></td></tr>
			</table>
		</form>
	</fieldset>
	</div>
	<{else}>
	<div >
		<font style="color:red;">您没有这个权限添加用户！</font>
	</div>
	<{/if}>
</center>
</div>
</body>
</html>